package cn.edu.ujn.food.entity;

import org.springframework.stereotype.Component;

import java.io.Serializable;
@Component
public class Orderdetail implements Serializable {
    private static final long serialVersionUID = 943338048707908535L;

    private Integer detId;

    private Integer orderId;

    @Override
    public String toString() {
        return "Orderdetail{" +
                "detId=" + detId +
                ", orderId=" + orderId +
                ", dishId=" + dishId +
                ", amount='" + amount + '\'' +
                ", detPrice='" + detPrice + '\'' +
                ", subtotal='" + subtotal + '\'' +
                ", start=" + start +
                ", rows=" + rows +
                '}';
    }

    private Integer dishId;

    private String amount;

    private String detPrice;

    private String subtotal;
    private Integer start;
    private Integer rows;

    public Integer getStart() {
        return start;
    }

    public void setStart(Integer start) {
        this.start = start;
    }

    public Integer getRows() {
        return rows;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public Integer getDetId() {
        return detId;
    }

    public void setDetId(Integer detId) {
        this.detId = detId;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getDishId() {
        return dishId;
    }

    public void setDishId(Integer dishId) {
        this.dishId = dishId;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getDetPrice() {
        return detPrice;
    }

    public void setDetPrice(String detPrice) {
        this.detPrice = detPrice;
    }

    public String getSubtotal() {
        return subtotal;
    }

    public void setSubtotal(String subtotal) {
        this.subtotal = subtotal;
    }

}

